package com.xisoft.base.config.mybatis;

import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.reflection.wrapper.BeanWrapper;
import org.apache.ibatis.reflection.wrapper.MapWrapper;

import java.util.Map;

/**
 * *
 * Created with Description:
 *
 * @version 1.0 <br>
 * @packagename: com.xisoft.base.config.mybatis<br>
 * @author: LiBencheng <br>
 * @computer: licheng <br>
 * @date: Created on 2022/8/12 17:56 <br>
 */
public class MyBeanWrapper extends BeanWrapper
{

    public MyBeanWrapper(MetaObject metaObject, Map< String,Object > map)
    { super(metaObject, map); }

    @Override
    public String findProperty(String name, boolean useCamelCaseMapping)
    { return name == null ? "" : name.toLowerCase(); }
    
}
